package com.enlink.didu.dao.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 集装箱航行统计
 * </p>
 *
 * @author idea
 * @since 2017-01-01
 */
public class ContainerLineStatistic extends Model<ContainerLineStatistic> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Integer id;

    /**
     * 集装箱分类
     */
    private Long standardChassisCode;

    /**
     * 出发港口航标代码
     */
    private String departurePortCodeHb;

    /**
     * 出发港口代码
     */
    private String departurePortCode;

    /**
     * 到达港口航标代码
     */
    private String arrivalPortCodeHb;

    /**
     * 到达港口代码
     */
    private String arrivalPortCode;

    /**
     * 到达港口停留时间
     */
    private BigDecimal arrivalPortBerthTime;

    /**
     * 到达港的平均漂泊时间
     */
    private BigDecimal arrivalPortMooringTime;

    /**
     * 平均航速
     */
    private BigDecimal speedAvg;

    /**
     * 航行轨迹
     */
    private String trackList;

    /**
     * 航行距离（海里）
     */
    private BigDecimal distance;


    public Integer getId() {
        return id;
    }

    public ContainerLineStatistic setId(Integer id) {
        this.id = id;
        return this;
    }

    public Long getStandardChassisCode() {
        return standardChassisCode;
    }

    public ContainerLineStatistic setStandardChassisCode(Long standardChassisCode) {
        this.standardChassisCode = standardChassisCode;
        return this;
    }

    public String getDeparturePortCodeHb() {
        return departurePortCodeHb;
    }

    public ContainerLineStatistic setDeparturePortCodeHb(String departurePortCodeHb) {
        this.departurePortCodeHb = departurePortCodeHb;
        return this;
    }

    public String getDeparturePortCode() {
        return departurePortCode;
    }

    public ContainerLineStatistic setDeparturePortCode(String departurePortCode) {
        this.departurePortCode = departurePortCode;
        return this;
    }

    public String getArrivalPortCodeHb() {
        return arrivalPortCodeHb;
    }

    public ContainerLineStatistic setArrivalPortCodeHb(String arrivalPortCodeHb) {
        this.arrivalPortCodeHb = arrivalPortCodeHb;
        return this;
    }

    public String getArrivalPortCode() {
        return arrivalPortCode;
    }

    public ContainerLineStatistic setArrivalPortCode(String arrivalPortCode) {
        this.arrivalPortCode = arrivalPortCode;
        return this;
    }

    public BigDecimal getArrivalPortBerthTime() {
        return arrivalPortBerthTime;
    }

    public ContainerLineStatistic setArrivalPortBerthTime(BigDecimal arrivalPortBerthTime) {
        this.arrivalPortBerthTime = arrivalPortBerthTime;
        return this;
    }

    public BigDecimal getArrivalPortMooringTime() {
        return arrivalPortMooringTime;
    }

    public ContainerLineStatistic setArrivalPortMooringTime(BigDecimal arrivalPortMooringTime) {
        this.arrivalPortMooringTime = arrivalPortMooringTime;
        return this;
    }

    public BigDecimal getSpeedAvg() {
        return speedAvg;
    }

    public ContainerLineStatistic setSpeedAvg(BigDecimal speedAvg) {
        this.speedAvg = speedAvg;
        return this;
    }

    public String getTrackList() {
        return trackList;
    }

    public ContainerLineStatistic setTrackList(String trackList) {
        this.trackList = trackList;
        return this;
    }

    public BigDecimal getDistance() {
        return distance;
    }

    public ContainerLineStatistic setDistance(BigDecimal distance) {
        this.distance = distance;
        return this;
    }

    public static final String ID = "id";

    public static final String STANDARD_CHASSIS_CODE = "standard_chassis_code";

    public static final String DEPARTURE_PORT_CODE_HB = "departure_port_code_hb";

    public static final String DEPARTURE_PORT_CODE = "departure_port_code";

    public static final String ARRIVAL_PORT_CODE_HB = "arrival_port_code_hb";

    public static final String ARRIVAL_PORT_CODE = "arrival_port_code";

    public static final String ARRIVAL_PORT_BERTH_TIME = "arrival_port_berth_time";

    public static final String ARRIVAL_PORT_MOORING_TIME = "arrival_port_mooring_time";

    public static final String SPEED_AVG = "speed_avg";

    public static final String TRACK_LIST = "track_list";

    public static final String DISTANCE = "distance";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ContainerLineStatistic{" +
        "id=" + id +
        ", standardChassisCode=" + standardChassisCode +
        ", departurePortCodeHb=" + departurePortCodeHb +
        ", departurePortCode=" + departurePortCode +
        ", arrivalPortCodeHb=" + arrivalPortCodeHb +
        ", arrivalPortCode=" + arrivalPortCode +
        ", arrivalPortBerthTime=" + arrivalPortBerthTime +
        ", arrivalPortMooringTime=" + arrivalPortMooringTime +
        ", speedAvg=" + speedAvg +
        ", trackList=" + trackList +
        ", distance=" + distance +
        "}";
    }
}
